
import request from '@/utils/request'

/**
 * 奖励列表
 * @param {
 * } query 
 * @returns 
 */
export function adminPopList(query) {
    return request({
        url: '/admin/pop/list',
        method: 'get',
        params: query
    })
}

/**
 * 新增奖励/编辑奖励
 * @param {
 * } query 
 * @returns 
 */
export function adminPopSave(query) {
    return request({
        url: '/admin/pop/save',
        method: 'post',
        data: query
    })
}

// 标签
export function adminPopTagList(query) {
    return request({
        url: '/admin/pop/tag/list',
        method: 'get',
        params: query
    })
}